<%@ Register TagPrefix="uc1" TagName="Footer" Src="../Controls/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Controls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="HelpCtrl" Src="../Controls/HelpCtrl.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WeeklyReportList.aspx.vb" Inherits="MIMS_WRS.Web.WeeklyReportList"%>
<%@ Register TagPrefix="cc1" Namespace="SR.WebControls" Assembly="SR.WebControls.PageSelect" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Weekly Report</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="stylesheet">
		<script language="JavaScript" src="../js/function.js" type="text/JavaScript"></script>
		<script language="JavaScript" src="../js/common.js" type="text/JavaScript"></script>
	</HEAD>
	<body leftMargin="0" topMargin="0" onload="MM_preloadImages('../images/b_weeklyreporto.gif','../images/b_historyreporto.gif','../images/b_usero.gif')"
		marginwidth="0" marginheight="0">
		<form id="Form1" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<uc1:header id="Header1" runat="server"></uc1:header>
				<!-- Submenu: start -->
				<tr>
					<td class="bgsubmenu" align="center" height="30">
						<table cellSpacing="0" cellPadding="0" width="96%" border="0">
							<tr>
								<td class="txtcolor2" width="98%">
									<p><span class="txtsmall"><strong>You are here:</strong></span> <A runat="server" id="hrefCustomerReportList" href="../Internal/Reports.aspx">
											Customer report list</A>
										<asp:label id="lblCustomerReportList" Runat="server" >Customer report list</asp:label>
										/ Weekly Report</p>
								</td>
								<td class="txtcolor2" noWrap align="right" width="70"><span class="plink"><A href="javascript:history.back()"><IMG height="16" hspace="2" src="../images/b_back.gif" width="57" vspace="0" border="0"></A></span></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td class="bglinetop1" height="1"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
				</tr>
				<!-- Submenu: end -->
				<!-- DataTable: start -->
				<TR>
					<td class="bgwhite" align="center">
						<table cellSpacing="0" cellPadding="0" width="96%" border="0">
							<tr>
								<td>
									<table cellSpacing="0" cellPadding="0" width="100%" border="0">
										<tr vAlign="bottom">
											<td height="25"><span class="title"><strong>WEEKLY REPORT</strong></span></td>
											<td width="44%" align="right" valign="bottom">
												<span class="plink">
													<uc1:HelpCtrl id="HelpCtrl1" runat="server"></uc1:HelpCtrl></span>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="5"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
							</tr>
							<tr>
								<td vAlign="top">
									<table cellSpacing="0" cellPadding="0" width="100%" border="0">
										<tr>
											<td class="border" height="1"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
										</tr>
										<tr>
											<td class="rowpage" height="25">
												<table cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr>
														<td width="44%" height="25"><span class="txtcolor1"></span></td>
														<td align="right" width="56%">
															<table class="txtcolor1" cellSpacing="0" cellPadding="2" border="0">
																<tr>
																	<td class="txtcolor1s" align="right"><b><cc1:pageselect id="PageSelect1" runat="server" cssclass="plink" PageCssClass="txtcolor1s" PageSelectedCssClass="txtsmall"></cc1:pageselect></b></td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td vAlign="top">
									<table class="border" cellSpacing="0" cellPadding="0" width="100%" border="0">
										<tr>
											<td vAlign="top"><asp:datagrid id="dgReports" runat="server" AllowCustomPaging="True" cellPadding="3" AutoGenerateColumns="False"
													Width="100%" BorderColor="#BFD6FB" BorderWidth="0px" CellSpacing="1" PageSize="20">
													<AlternatingItemStyle HorizontalAlign="Center" VerticalAlign="Bottom"></AlternatingItemStyle>
													<ItemStyle HorizontalAlign="Center" CssClass="bgrow1" VerticalAlign="Middle"></ItemStyle>
													<HeaderStyle Font-Bold="True" HorizontalAlign="Center" CssClass="txtheader" VerticalAlign="Middle"></HeaderStyle>
													<Columns>
														<asp:BoundColumn DataField="WEEK" HeaderText="Week">
															<HeaderStyle Width="10%"></HeaderStyle>
														</asp:BoundColumn>
														<asp:BoundColumn DataField="YEAR" HeaderText="Year">
															<HeaderStyle Width="10%"></HeaderStyle>
														</asp:BoundColumn>
														<asp:TemplateColumn HeaderText="Production Status Report">
															<HeaderStyle Width="10%"></HeaderStyle>
															<ItemTemplate>
																<asp:Literal Runat=server Text="<%# GetProductionStatusLink(Container) %>" ID="Literal1">
																</asp:Literal>
															</ItemTemplate>
														</asp:TemplateColumn>
														<asp:TemplateColumn HeaderText="Order Status Report">
															<HeaderStyle Width="10%"></HeaderStyle>
															<ItemTemplate>
																<asp:Literal Runat=server Text="<%# GetOrderStatusLink(Container) %>" ID="Literal2">
																</asp:Literal>
															</ItemTemplate>
														</asp:TemplateColumn>
													</Columns>
												</asp:datagrid></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td>
									<table cellSpacing="0" cellPadding="0" width="100%" border="0">
										<tr>
											<td class="txtcolor1s" bgColor="#ffffff" height="1"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
										</tr>
										<tr>
											<td class="rowpage" height="25">
												<table cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr>
														<td class="txtsmall" width="44%" height="25"><b>TOTAL: </b></SPAN><asp:label id="lblTotal" CssClass="txthighlight" Runat="server"></asp:label>&nbsp;<b><asp:label id="lblTotalText" CssClass="txtsmall" Runat="server"></asp:label></b>
														</td>
														<td align="right" width="56%">
															<table class="txtcolor1" cellSpacing="0" cellPadding="2" border="0">
																<tr>
																	<td class="txtcolor1s" align="right"><b><cc1:pageselect id="Pageselect2" runat="server" cssclass="plink" PageCssClass="txtcolor1s" PageSelectedCssClass="txtsmall"></cc1:pageselect></b></td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td class="border" height="1"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td align="right">&nbsp;</td>
							</tr>
						</table>
					</td>
					<!-- DataTable: end -->
					<uc1:footer id="Footer1" runat="server"></uc1:footer></TR>
			</table>
		</form>
	</body>
</HTML>
